0<!doctype html>
<html><!-- InstanceBegin template="/Templates/biTemplate.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta charset="utf-8">
<meta id="viewport" name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0,user-scalable=no,target-densitydpi=300">
<!-- InstanceBeginEditable name="doctitle" -->
<title>我的业务</title>
<link rel="stylesheet" type="text/css" href="res/common.css">
<script src="../resources/js/jquery-1.7.2.min.js"></script>
<script src="res/common.js"></script>
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F883c1dc0c5cf74748ff6876f4606832f' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
var curphone = window.localStorage.getItem("curphone");
var userkey = window.localStorage.getItem("userkey");
var username = localStorage.getItem("username");
var intime = localStorage.getItem("innetTime");
var paytype = localStorage.getItem("payType");//0后付费
var credit = localStorage.getItem("credit");
var packtype;
$(function(){
    addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); 
	addEventListener("orientationchange", function() { setTimeout(hideURLbar, 0); }, false);
	addEventListener("load",function(){$("#loading").hide();
		$(".floatBoxBg").hide();
	});
      function hideURLbar(){ 
               window.scrollTo(0,1); 
      }
      if(navigator.userAgent.toLowerCase().indexOf("android", 0)<0){
         $("#footer").css({"center;z-index":"999","position":"fixed","bottom":"0"});
         window.scrollTo(0,1); 
        }else{
        $("#footer").css({"position":"fixed","bottom":"0"});
    var top = $("#footer").offset().top;
    $(window).scroll(function(){
    $("#footer").offset({top:$(document).scrollTop()+top});
    });
        }

       }); 

$(document).ready(function(e) {
	if(detectDeviceType()=="Apple"){
		$("#viewport").attr("content","width=640,initial-scale=0.5, maximum-scale=0.5, minimum-scale=0.5,user-scalable=no");
	}
	if(paytype=="1"){
		paytp = "（后付费用户）";
	}else{
		paytp = "（预付费用户）";
	}
	var intime1 = intime.substring(0,4);
	var intime2 = intime.substring(4,6);
	var intime3 = intime.substring(6,8);
	var intonet = intime1+"-"+intime2+"-"+intime3;
	$("#username").append(username+paytp);
	$("#phonenm").append(curphone);
	$("#intonet").append(intonet);
	$("#credit").append(credit);
    var url1=jsonserver+"/mb/userphone/"+curphone+"/"+userkey;
	$.getJSON(url1+".jsonp?callback=?",{},function(data){
			$("#currentMainPackage").html(data.currentMainPackage);
			$("#appendPackages").html(data.currentAppendPackage);
			packtype = data.curPackage;
			window.scrollTo(0,1);
		});
		$("#content").append('<div class="woDiv" onclick="download()"><span style="color:#49494b;">下载智能云管家客户端</span><img src="res/img/downll.png" style="padding-top:15px;"/></div>');
});
function chgpackage(){
	window.location.href='changepackage.html?pacType='+packtype;
}
</script>

<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="EditRegion-jscode" -->

<link href="res/index/css/mybusiness.css" rel="stylesheet" type="text/css">
<!-- InstanceEndEditable -->
<style type="text/css">
*{
	font-family:Heiti SC;
	font-weight:600;
}
</style>
	<script type="text/javascript">
//var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
//document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F2284c04845acdcd94dd640a8555927dc' type='text/javascript'%3E%3C/script%3E"));
</script>

</head>
<link rel="icon" href="res/img/logo.png" type="image/x-icon">
<link rel="shortcut icon" href="res/img/logo.png" type="image/x-icon"> 
<body style="margin:0;">

	<div id="header" style="text-align:center;">
	<!-- InstanceBeginEditable name="EditRegion-header" -->
    <table width="100%" height="88px">
    	<tr>
        	<td width="10%" onClick="javascript:location.href='index.html'">
            <div><img src="res/img/back.png"/></div>
            </td>
            <td width="80%" style="text-align:center;">
            <span style="font-size:34px; font-weight:bold; color:#fff; ">我的业务</span>
            </td>
            <td width="10%">
            
            </td>
        </tr>
    </table>
	<!-- InstanceEndEditable -->
    </div>
    <div id="content">
    <div id="loading" class="loading"><img src="res/loading.gif"/>载入中...</div>
    <div class="floatBoxBg"></div>
	<!-- InstanceBeginEditable name="EditRegion-content" -->
    <div id="userdata" class="usedata">
    	<table width="100%" height="102px">
          <tr>
            <td width="50%" class="username"><span id="username"></span></td>
            <td width="50%" class="username">手机号码:<span id="phonenm"></span></td>
          </tr>
          <tr>
            <td class="username"><span id="intonet"></span>入网</td>
            <td class="username">信用额度:<span id="credit"></span>元</td>
          </tr>
		</table>
    </div>
    <div id="nowbusi" class="businow">当前使用业务</div>
    <div id="currentMainPackage"></div>
    <div id="appendPackages"></div>
    <div id="agreement" class="agrement">
    <!--啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊-->
    </div>
    <div id="changepackage" class="changepa" onClick="chgpackage()">
    <table height="83px" width="100%" border="0">
  <tr>
    <td height="83px"><div style="height:83px; line-height:83px; font-size:30px">变更套餐</div></td>
    <td width="52px"><div><img id="upordown" src="res/index/images/go.png"/></div></td>
  </tr>
</table>
    </div>
    <br/><div style="color:#676767; font-size:24px; text-align:center;">注:本页数据仅供参考，详细内容请以营业厅信息为准!</div>
	<!-- InstanceEndEditable -->
    </div>
    <!-- InstanceBeginEditable name="EditRegion-footer" -->
	<!-- InstanceEndEditable -->
    <div id="footer">
    </div>
    
</body>
<!-- InstanceEnd --></html>
